package com.a.lib_base;

import android.app.Application;
import android.content.Context;
import com.blankj.utilcode.util.AppUtils;
/**
 * 初始化了APP_VERSION、Context
 */
public class BaseApp extends Application {
    public static String moduleName;
    private static Context context;
    public static float APP_VERSION; // 版本，在gradle进行修改
    public static Context getContext() {
        return context;
    }

    @Override
    public void onCreate() {
        super.onCreate();
        context = this;
        APP_VERSION = AppUtils.getAppVersionCode() / 100f;
    }
}

